package com.lvyuely.common.lvyuely.webapp.controller;

import com.lvyuely.common.lvyuely.webapp.service.IndexService;
import com.lvyuely.common.web.core.controller.AbstractController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Simple to Introduction
 * <pre>
 * <b>项目</b> :  lvyuely-archetype-webapp
 * <b>包名</b> :  com.lvyuely.common.archetype.webapp.controller
 * <b>类名</b> :  IndexController
 * <b>描述</b> :
 * <b>版权</b> :  Copyright (c) 1999-2015 广联达软件股份有限公司
 * </pre>
 *
 * @author :   lvyue
 * @version :  1.0
 * @date :     15/1/8 09:21
 */
@Controller
public class IndexController extends AbstractController {

    @Autowired
    private IndexService indexService;

    @RequestMapping(value = {"", "/"}, method = RequestMethod.GET)
    public String index() {
        return "index.ftl";
    }
}
